package com.hongmeng.operater.domain.operaterUser;

import com.hongmeng.common.annotation.Excel;
import com.hongmeng.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 医生信息对象 hm_doctor
 * 
 * @author hongmeng
 * @date 2021-03-02
 */
public class HmDoctor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Integer id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String doctorName;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idCard;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 资格证号 */
    @Excel(name = "资格证号")
    private String qualificationNo;

    /** 执业证号 */
    @Excel(name = "执业证号")
    private String licenseNo;

    /** 学历 */
    @Excel(name = "学历")
    private String education;

    /** 专业 */
    @Excel(name = "专业")
    private String specialty;

    /** 职称 */
    @Excel(name = "职称")
    private String professionalName;

    /** 工作单位 */
    @Excel(name = "工作单位")
    private String workUnits;

    /** 科室 */
    @Excel(name = "科室")
    private String doctorDept;

    /** 关联用户表id */
    @Excel(name = "关联用户表id")
    private Long userId;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setDoctorName(String doctorName) 
    {
        this.doctorName = doctorName;
    }

    public String getDoctorName() 
    {
        return doctorName;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setQualificationNo(String qualificationNo) 
    {
        this.qualificationNo = qualificationNo;
    }

    public String getQualificationNo() 
    {
        return qualificationNo;
    }
    public void setLicenseNo(String licenseNo) 
    {
        this.licenseNo = licenseNo;
    }

    public String getLicenseNo() 
    {
        return licenseNo;
    }
    public void setEducation(String education) 
    {
        this.education = education;
    }

    public String getEducation() 
    {
        return education;
    }
    public void setSpecialty(String specialty) 
    {
        this.specialty = specialty;
    }

    public String getSpecialty() 
    {
        return specialty;
    }
    public void setProfessionalName(String professionalName) 
    {
        this.professionalName = professionalName;
    }

    public String getProfessionalName() 
    {
        return professionalName;
    }
    public void setWorkUnits(String workUnits) 
    {
        this.workUnits = workUnits;
    }

    public String getWorkUnits() 
    {
        return workUnits;
    }
    public void setDoctorDept(String doctorDept) 
    {
        this.doctorDept = doctorDept;
    }

    public String getDoctorDept() 
    {
        return doctorDept;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("doctorName", getDoctorName())
            .append("sex", getSex())
            .append("idCard", getIdCard())
            .append("phone", getPhone())
            .append("email", getEmail())
            .append("qualificationNo", getQualificationNo())
            .append("licenseNo", getLicenseNo())
            .append("education", getEducation())
            .append("specialty", getSpecialty())
            .append("professionalName", getProfessionalName())
            .append("workUnits", getWorkUnits())
            .append("doctorDept", getDoctorDept())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("userId", getUserId())
            .toString();
    }
}
